<script lang="ts" setup>
import { ref, onMounted } from 'vue';
const inputVal = ref();
const timePicker = ref('');
const clickChangeTime = () => {
    timePicker.value = '1996-10-01';
};
</script>
<script lang="ts">
export default {
    name: 'applyItemOneChildOne'
};
</script>
<template>
    <div class="wrapper">
        <el-button type="primary" @click="clickChangeTime">修改日期</el-button>
        <el-date-picker v-model="timePicker" type="date" placeholder="Pick a day" size="default" />
        <div class="input-box">
            <div class="label">apply嵌套routerView 1</div>
            <el-input v-model="inputVal" placeholder="可缓存"></el-input>
        </div>
    </div>
</template>

<style scoped lang="scss">
.wrapper {
    .label {
        margin-bottom: 20px;
    }
    .input-box {
        width: 300px;
        margin-top: 10px;
    }
}
</style>
